package main

import (
	"flag"
	"fmt"
)

type iii string

func (i *iii) String() string {
	//panic("implement me")
	return string(*i)
}

func (i *iii) Set(string) error {
	panic("implement me")
}

var name iii

//var cmdLine = flag.NewFlagSet("question", flag.ExitOnError)

func init() {
	name = "test"
	//flag.StringVar(&name, "name", "everyone", "The greeting object.")
	flag.Var(&name, "name", "custom type iii")
}

func main() {
	//flag.Usage = func() {
	//	fmt.Fprintf(os.Stderr, "Usage of %s:\n", "question")
	//	flag.PrintDefaults()
	//}
	flag.Parse()
	fmt.Printf("Hello %s", name)
}
